
compiler_plugin "FS.Plugins.Ext.ListOf"
{
    desc            =   "Allows building up of a table structure with the supplied field names.";
    examples        =   [ 'users = listof( name, email, role )'  ];
    type            =   "expr";
    precedence      =   1;  
    grammar_match   =   "$start:@starttoken \\( $params:@paramnames \\)";
	start_tokens	=   [ "listof" ];
    build           =   function(args)    
                        {       
							return sys.compiler.toTable(args["paramsValue"], args["start"]);
                        }
}